package com.example.justbuy.mapper;

import com.example.justbuy.pojo.Evaluate;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.HashMap;

@Mapper
@Repository
public interface EvaluateMapper {

    //根据订单ID插入一条评价信息
    int inserEvalByOrderId(HashMap map);

    Evaluate getByMap(HashMap map);
}
